<nz-card nzTitle="我的文档" [nzBodyStyle]="{'padding':'0'}">
    <nz-table #basicTable [nzData]="dataSet" nzBordered="true" [nzFrontPagination]="false" [nzTotal]="page.total"
        [nzPageIndex]="page.page" [nzPageSize]="page.per_page" [nzShowSizeChanger]="true"
        (nzQueryParams)="onQueryParamsChange($event)">
        <thead>
            <tr>
                <th nzColumnKey="doc_name" [nzShowSort]="true" [nzSortOrder]="'asc'" [nzSortFn]="true"
                    [nzSortDirections]="['desc','asc']" nzWidth="300px">
                    文档名称
                </th>
                <th>文档地址</th>
                <th>编辑</th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let data of basicTable.data">
                <td>{{data.doc_name}}</td>
                <td><a routerLink="/layout/docs/{{data.id}}">{{data.doc_path}}</a></td>
                <td><a routerLink="/layout/editor/{{data.id}}">编辑</a></td>
            </tr>
        </tbody>
    </nz-table>
</nz-card>